home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / pm / sleep.d / 10_grub-common next >
Text File  |  2009-10-23  |  210b  |  12 lines

  1. #!/bin/sh
  2.  
  3. # Tell grub that resume was succesfull
  4.  
  5. case "$1" in
  6.     thaw)
  7.         [ -s /boot/grub/grubenv ] || rm -f /boot/grub/grubenv
  8.         mkdir -p /boot/grub
  9.         grub-editenv /boot/grub/grubenv unset recordfail
  10.         ;;
  11. esac
  12.